-- GENERATED SPELL FOR [Umi Thorson] --


function spell0_13078(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(12057,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_13078', 533, 1)
end

function spell1_13078(pUnit, Event) --@Thunderclap,Self--
pUnit:FullCastSpellOnTarget(8147,pUnit)
pUnit:RegisterEvent('Sorts_13078', 10302, 1)
end

function Sorts_13078(pUnit, Event)
local choix_sorts_13078 = math.random(0, 1)
if choix_sorts_13078 == 0 then
pUnit:RegisterEvent('spell0_13078', 1, 1)
end
if choix_sorts_13078 == 1 then
pUnit:RegisterEvent('spell1_13078', 1, 1)
end
end

function mob13078_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_13078', math.random(1500, 3000), 1)
end

function mob13078_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13078_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13078_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(13078, 1, 'mob13078_Action')
RegisterUnitEvent(13078, 2, 'mob13078_Leave')
RegisterUnitEvent(13078, 3, 'mob13078_Kill')
RegisterUnitEvent(13078, 4, 'mob13078_Die')
